package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Secondary;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.query.ProductQueryObject;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface ISecondaryService {

    Secondary selectByPrimaryKey(Long id);

    PageResult query(QueryObject qo);

    void saveOrUpdate(Secondary secondary);

    List<Secondary> selectAll(ProductQueryObject qo);
    void delete(Long id);
    List<Secondary> selectByFirstId(Long firstId);
}
